package com.future.domain.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.util.Date;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.ALWAYS)
public class NotificationDTO{
    private String notificationId;
    private String userId;//点赞/评论/收藏的用户id
    private String userName;
    private String avatar;
    private String content;//通知的内容
    private String targetId;
    private String commentId;
    private String title;
    private String receiverId;
    private Date createdAt;
    private String parentContent;
    private String sonContent;
    private String type;
    private Integer unreadCount;
}

